Unit 3 Exercise 12
Exercise 12: Invalid Event
Objective
To use a text file to pass an External Event to OpCon using the MSGIN directory.
Summary
In notepad, add a $PROPERTY:SET event then save that file in the MSGIN Directory of the MSLSAM. Once that is done, you will review the SAM Log or the Critical Log to see that the event was processed but the property wasn't updated.
info
This exercise is designed so that the property will not be updated.
Instructions
- Click the Windows Start button, type Notepad and press Enter.
- With Notepad opened, type:
$PROPERTY:SET,EVENTERROR,0,ocadm,opconxps
- Save the file with any name to the MSGIN Directory,
C:\ProgramData\OpConxps\MSLSAM\MSGIN
. - Open a File Explorer Window.
- Navigate to the SAM Directory,
C:\ProgramData\OpConxps\SAM\Log
. - Open the SAM.log or Critical.log file and scroll to the bottom of the log.
- You should see a messages similar to the following:
Receiving Event $PROPERTY:SET,EVENTERROR,0,ocadm,(HIDDEN). Received from LSAM
Processing Event $PROPERTY:SET,EVENTERROR,0,ocadm,(HIDDEN). Received from LSAM
Unable to modify property (does not exist): EVENTERROR
Failed to process event $PROPERTY:SET. Received from LSAM
- Close all log files and the File Explorer windows.
Exercise Mananger
Details
- Open Notepad (click the Windows Start button, type Notepad and press Enter).
- With Notepad opened, type:
$PROPERTY:SET,EVENTERROR,0,ocadm,opconxps
- Save the file (any name) under:
C:\ProgramData\OpConxps\MSLSAM\MSGIN
- Go back to Enterprise Manager and open the SAM log.
- Check the messages (Property does not exist).
- Open the Critical log.
- Check the messages (Property does not exist).
- Close all log tabs and Notepad.